import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
import "../src/assets/css/main.css";
//完整引入
// 引入ElementUI组件库
import ElementUI from 'element-ui';
// 引入ElementUI全部样式
import 'element-ui/lib/theme-chalk/index.css';
import request from "@/util/request";
// 引入自定义el-table高度自适应指令
import adaptive from '@/assets/js/el-table'
Vue.use(adaptive)


Vue.prototype.request = request

// 引入 axios
Vue.prototype.$axios = axios
// axios请求url前缀
axios.defaults.baseURL = 'http://127.0.0.1:8088'

Vue.config.productionTip = false
//应用ElementUI    small 或 mini
Vue.use(ElementUI, {
  size: "mini"
});


new Vue({
  router,
  store,
  render: function (h) {
    return h(App)
  }
}).$mount('#app')